#ifndef __ENTHANDLER__
#define __ENTHANDLER__

#include <string>
#include "gl.h"
#include "vect.h"
#include "quat.h"

class EntHandler;

class Ent {
protected:
	EntHandler* handler;
	~Ent();
	vect position;
	quat orientation;

public:
	Ent();
	EntHandler* getHandler();
	virtual void think() = 0;
	virtual void draw() = 0;

	void setName(std::string);
	std::string getName();

	const vect& getPosition() const;
	void setPosition(const vect&);
	const quat& getOrientation() const;
	void setOrientation(const quat&);

	friend class EntHandler;
};

#endif
